<%@page import="java.util.*"%>
<%@page import="controllers.*"%>
<%@page import="model.dtos.*"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Cerrar Mesa - Factura</title>
<style type="text/css">
body {
	background-color: gray;
	padding: 20px;
	font-family: Segoe UI;
}

h1,h2 {
	font-weight: lighter;
}

h1 {
	border-bottom: 1px solid black;
}

#container {
	width: 50%;
	border: 1px solid black;
	margin-left: 25%;
	background-color: white;
	padding: 20px;
}
</style>
</head>
<body>
	<div id="container">
		<h1>Factura</h1>
		<%
			String monto = (String) request.getAttribute("monto");
			String mozo = (String) request.getAttribute("mozo");
			String mesa = (String) request.getAttribute("mesa");
			String fecha = (String) request.getAttribute("fecha");
		%>
		<table>
			<tr>
				<td>Monto total:</td>
				<td>$ <%
					out.print(monto);
				%>
				</td>
			</tr>
			<tr>
				<td>Atendido por:</td>
				<td>
					<%
						out.print(mozo);
					%>
				</td>
			</tr>
			<tr>
				<td>Mesa:</td>
				<td>
					<%
						out.print(mesa);
					%>
				</td>
			</tr>
			<tr>
				<td>Fecha:</td>
				<td>
					<%
						out.print(fecha);
					%>
				</td>
			</tr>
			<tr>
				<td></td>
			</tr>
		</table>
		
		<h2>Gracias por su compra!</h1>
	</div>
</body>
</html>